#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "game.h"

int main(int argc, char *argv[])
{
    puts("------------------------------");

    if (argc <= 2)
    {
        printf("you must input the play count and players names in args!\n");
    }

    const int play_count = atoi(argv[1]);
    const int shuffle_count = 3;
    const int player_count = argc - 2;
    GAME game = init(play_count, shuffle_count, player_count, argv + 2);

    puts("------------------------------");
    shuffle(game);
    deal(game);
    puts("------------------------------");
    return 0;
}